<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
	</head>
	<body>
		<button type="button">颜色</button>
		<div style="background-color: #00FFFF;width: 300px;height: 100px;margin: 0 auto;text-align: center;line-height: 100px;">zzj</div>
		<div style="background-color: #ff00ff;width: 300px;height: 100px;margin: 0 auto;text-align: center;line-height: 100px;">jzz</div>
		<script type="text/javascript">
			$(function(){
				$("button").click(function(){
					$("div").css({"background-color":"#ffff7f","font-size":"30px"})
				})
			})
		</script>
	</body>
</html>
